<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
   <title>Template</title>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

   <link rel="stylesheet" type="text/css" href="<?=base_url() ?>styles/common.css" media="all" />
   <?= $_styles ?>

   <?= $_scripts ?>
</head>

<body>
    <div id="body-wrap">

        <div id="header-wrap">

            <div id="menu">
                <?php echo alt_site_url(); ?>
                <?php
//                    echo getMenu('main');
                    getWidget('menu', array('menu_name' => 'main'));
                ?>
            </div>

        </div>

        <div id="content-wrap">

            <div id="content-body">
                <?php echo $content ?>
            </div>

            <div id="sidebar-wrap">
                <h1>sidebar</h1>
                <hr/>
                <?php
                    //echo getMenu('sidemenu');
                    getWidget('menu', array('menu_name' => 'sidemenu'));
                ?>

                <br/>
                <hr/>
                <?php getWidget('html', 0); ?>
                <hr/>
                <?php getWidget('pagemenu', 0); ?>
            </div>

        </div>

        <div id="footer-wrap">
            &copy; Copyright 2011 - kimon.web.designs<br/>
            Rendered in {elapsed_time} seconds.
        </div>

    </div>

    <div id="debug">
        <?php echo $debug; ?>
    </div>

</body>

</html>